var netWork = require('../../../utils/netWork.js');
const app = getApp();
var api = require('../../../utils/api.js');
Page({

  /**
   * 页面的初始数据
   */
  data: {
    imagesUrl: getApp().globalData.imagesUrl,
    topHeight: 0, //顶部高度
    top: 0,
   

  },
  onShow:function(){
    

  },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    console.log("onload======")
    api.showLoading('正在加载中...')
    api.judgeNetworkStatus(function (res) {
      if ("none" == res) return;
    })
    let topHeight = wx.getStorageSync('statusBarHeight') + wx.getStorageSync('navigationBarHeight');
    this.setData({
      topHeight: topHeight
    });
  },
  
  
  
  
})